<div class="modal-header">
    <h4 class="modal-title">广告列表信息</h4>
</div>
<div class="modal-body">
    <div class="container-fluid form-horizontal ">

<div class="col-xs-12 " >
		<div class="panel-body">
			<div class="container-fluid">
				
				<div class="col-xs-12 col-md-12" >

					<div class="form-group">
						<label class="col-xs-3 control-label">标题</label>
						<div class="col-xs-7">
							<input type="text" class="form-control" placeholder="请输入标题"
							ng-model="info.title"
							>
						</div>
					</div>

                    <div class="form-group">
					    <label for="inputDate" class="col-sm-3 control-label">图文类别</label>
                        <div class="col-md-7">
                            <select class="form-control" ng-model="info.type" ng-change="selection(info.type)">
                                <option value="">请选择</option>
                                <option value="1">公众号图文</option>
                                <option value="2">公众号</option>
                                <option value="3">定义图文</option>
                                <option value="4">摇一摇</option>
                                
                            </select>
                        </div>
					 </div>	

                     <div class="form-group" ng-show="info.type == '1'">
						<label class="col-xs-3 control-label">网址</label>
						<div class="col-xs-7">
							<input type="text" class="form-control" placeholder="请输入网址"
							ng-model="info.url"
							>
						</div>
					</div>

                    <div class="form-group" ng-show="info.type == '2'">
						<label class="col-xs-3 control-label">二维码</label>
						<div class="col-xs-7">
							<img ng-src="{{info.url}}" width="100%" height="200" ng-model="info.url">
					        <input type="file" nv-file-select uploader="uploader1" / ng-hide="hide===true" ><br/>
					        <ul class="list-group">
					          <li class="list-group-item" ng-repeat="item in uploader1.queue">
					            文件名: <span ng-bind="item.file.name"></span>
					            <button type="button" class="btn btn-default btn-xs"  ng-click="item.upload()"><span class="glyphicon glyphicon-upload"></span> 上传</button>
					            <div class="progress mt10">
					              <div class="progress-bar" role="progressbar" ng-style="{ 'width': uploader1.progress + '%' }"></div>
					            </div>
					          </li>
					        </ul>
						</div>
					</div>

                    <div class="form-group" ng-show="info.type == '3' || info.type == '2'">
						<label class="col-xs-3 control-label">图文详情</label>
						<div class="col-xs-7">
							<!-- <div text-angular ng-model="info.content"></div> -->
							<div class="ueditor" ng-model="info.content"></div>
						</div>
					</div>



                    <div class="form-group">
						<label class="col-xs-3 control-label">可获积分</label>
						<div class="col-xs-7">
							<input type="text" class="form-control" placeholder="请输入可获积分"
							ng-model="info.integral"
							>
						</div>
					</div>

					<div class="form-group">
						<label class="col-xs-3 control-label">帮助人可获积分</label>
						<div class="col-xs-7">
							<input type="number" class="form-control" placeholder="请输入帮助人可获积分"
							ng-model="info.integral_help"
							>
						</div>
						<div class="col-sm-2 mt10">
							<font face="Courier" class="text-danger">0为不给</font>
						</div>
					</div>


                    

				</div>


			</div>
		</div>
	</div>
</div>
<div class="modal-footer">
    <button class="btn btn-primary" type="button" ng-click="ok()">OK</button>
    <button class="btn btn-warning" type="button" ng-click="cancel()">返回</button>
</div>


